﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DotNetFrameworkExtendClass;
using System.Net.NetworkInformation;
using DotNetFrameworkExtendClass.SystemEx.WindowsEx;
namespace DemoConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            string ss = "创建" + Environment.NewLine + "一个加密的字符串";
            Console.WriteLine(ss.Append("4562").ToMD5());
            Console.WriteLine(ss.Encrypt("public key"));
            Console.WriteLine("FB05A64E75C2603CF1236FC6EF8DD42C46A36B788F2B00119DEC2EA2C35B54F09BE03CA77968DC0C".Decrypt("public key"));
            Ping pingsender = new Ping();
            Console.WriteLine(pingsender.Reply("baidu.com").Status);
            Console.WriteLine(new Random().NextString(16));
            Console.WriteLine(new Random().NextString(16));
            Console.WriteLine(new Random().NextString(16));
            Console.WriteLine(new Random().NextString(100));
            Console.WriteLine(new TimeSpan(0, 0, 5));
            ScheduledTasks.CreateTask("测 试 的", 10, @"C:\Prog Files\A .exe");
            Console.ReadKey();
        }
    }
}
